﻿<igRibbon:RibbonGroup
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:igRibbon="http://infragistics.com/Ribbon"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Views.TeamSystemHomeGroupView"
    Id="TeamSystemHomeGroup" Caption="Team System" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:hinshTfsSb="http://hinshelwood.com/TFSStickyBuddy/PresentationModels">    
        <igRibbon:ToolHorizontalWrapPanel>
                <igRibbon:ComboEditorTool
                  Id="uxServerCombo"
                  x:Name="uxServerCombo"
                  DropDownResizeMode="VerticalOnly"
                  ItemsSource="{Binding Path=AvailableServers}"
                  SelectedItem="{Binding Path=SelectedServer, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                  DisplayMemberPath="Name"
                  IsEditable="False"
                  EditAreaWidth="148.0">
            <igRibbon:ComboEditorTool.ToolTip>
                <igRibbon:XamRibbonScreenTip 
                    Header="Select Team Server"
                    Content="Use this drop down to select the Team Foundation Server you want to connect to. Selecting this option will populate the Projects selection list."
                    />
            </igRibbon:ComboEditorTool.ToolTip>
        </igRibbon:ComboEditorTool>
                <igRibbon:MenuTool Command="{Binding Path=ManageServersCommand}" igRibbon:RibbonGroup.MaximumSize="ImageOnly" SmallImage="/Hinshelwood.TFSStickyBuddy.Modules.TeamSystem;component/Resources/Images/TeamServerSelectIcon.png">
				<igRibbon:MenuTool.ToolTip>
                  <igRibbon:XamRibbonScreenTip 
                    Header="Manage Team Servers"
                    Content="You can use this option to access the management system for Team Servers that are available to you."
                    />
                </igRibbon:MenuTool.ToolTip>
                </igRibbon:MenuTool>
            <igRibbon:ComboEditorTool
                  Id="uxProjectCombo"
                  x:Name="uxProjectCombo"
                  IsEditable="False"
                  IsEnabled="{Binding Path=IsServerSelected}"
                  ItemsSource="{Binding Path=AvailableProjects}"
                  DisplayMemberPath="Name"
                  SelectedItem="{Binding Path=SelectedProject, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                  DropDownResizeMode="VerticalOnly"
                  EditAreaWidth="118.0">
                <igRibbon:ComboEditorTool.ToolTip>
                <igRibbon:XamRibbonScreenTip 
                    Header="Select Team Project"
                    Content="Use this drop down to select the Team Project you want to connect to."
                    />
            </igRibbon:ComboEditorTool.ToolTip>
                </igRibbon:ComboEditorTool>
            </igRibbon:ToolHorizontalWrapPanel>
</igRibbon:RibbonGroup>
